800
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h,h1,h2,h3;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.HTMLPicture("p1","c:\\exontrol\\images\\card.png");
	exgantt1.HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
	exgantt1.AutoDrag(11/*exAutoDragCopySnapShot*/);
	exgantt1.LinesAtRoot(0/*exNoLinesAtRoot*/);
	exgantt1.HasLines(2/*exThinLine*/);
	exgantt1.ShowFocusRect(false);
	exgantt1.DefaultItemHeight(26);
	exgantt1.Columns().Add("Task");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.ShowNonworkingDates(false);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		com_Chart.LevelCount(2);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.Color(0x1000000);
			com_Bar.Height(18);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("<img>p1:32</img>Group 1");
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemBold(h,true);
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		h2 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L1");
		h3 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3");
		com_Items.AddLink("L2",h2,"K2",h3,"K3");
		com_Items.Link("L2",12/*exLinkText*/,"L2");
		h = com_Items.AddItem("<img>p2:32</img>Group 2");
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
		com_Items.ItemBold(h,true);
		com_Items.ItemDivider(h,0);
		h1 = com_Items.InsertItem(h,,"Task");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.ExpandItem(0,true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
799
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

public void init()
{
	COM com_Column,com_Items,com_rs;
	COMVariant var_HTMLPicture;
	anytype rs,var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.HTMLPicture("p1","c:\\exontrol\\images\\card.png");
	exgantt1.HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_HTMLPicture = exgantt1.HTMLPicture("aka1");
	exgantt1.HeaderHeight(24);
	exgantt1.DefaultItemHeight(48);
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	exgantt1.GridLineColor(WinApi::RGB2int(240,240,240));
	exgantt1.SelBackMode(1/*exTransparent*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.FormatColumn("value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.Width(112);
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(1)); com_Column = var_Column;
	com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromInt(1));
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column = var_Column;
	com_Column.LevelKey("1");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(3)); com_Column = var_Column;
	com_Column.LevelKey("1");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(4)); com_Column = var_Column;
	com_Column.LevelKey("1");
	exgantt1.AutoDrag(10/*exAutoDragCopyImage*/);
	exgantt1.SingleSel(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.ItemByIndex(1);
		com_Items.SelectItem(h,true);
		h = com_Items.ItemByIndex(2);
		com_Items.SelectItem(h,true);
		h = com_Items.ItemByIndex(3);
		com_Items.SelectItem(h,true);
		com_Items.LockedItemCount(2/*BottomAlignment*/,1);
		h = com_Items.LockedItem(2/*BottomAlignment*/,0);
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"<font ;16>Click the selection and <b>wait to start dragging</b>, and then drop to Microsoft Word, ...");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(1),false);
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(1),1/*exHTML*/);
		com_Items.CellHAlignment(h,COMVariant::createFromInt(1),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,1);
		com_Items.ItemDividerLineAlignment(h,2/*DividerTop*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
798
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

public void init()
{
	COM com_Column,com_Items,com_rs;
	anytype rs,var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column = var_Column;
	com_Column.LevelKey("1");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(3)); com_Column = var_Column;
	com_Column.LevelKey("1");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(4)); com_Column = var_Column;
	com_Column.LevelKey("1");
	exgantt1.AutoDrag(9/*exAutoDragCopyText*/);
	exgantt1.SingleSel(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.ItemByIndex(1);
		com_Items.SelectItem(h,true);
		h = com_Items.ItemByIndex(3);
		com_Items.SelectItem(h,true);
		h = com_Items.ItemByIndex(4);
		com_Items.SelectItem(h,true);
		h = com_Items.ItemByIndex(5);
		com_Items.SelectItem(h,true);
		com_Items.LockedItemCount(2/*BottomAlignment*/,1);
		h = com_Items.LockedItem(2/*BottomAlignment*/,0);
		com_Items.CellCaption(h,COMVariant::createFromInt(0),"<font ;16>Click the selection and <b>wait to start dragging</b>, and then drop to Microsoft Word, Excel, ...");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,2/*DividerTop*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
797
Is it possible to change the indentation during the drag and drop

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h,h1,h2,h3;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.AutoDrag(3/*exAutoDragPositionAny*/);
	exgantt1.LinesAtRoot(0/*exNoLinesAtRoot*/);
	exgantt1.HasLines(1/*exSolidLine*/);
	exgantt1.HasButtons(3/*exWPlus*/);
	exgantt1.ShowFocusRect(false);
	exgantt1.SelBackMode(1/*exTransparent*/);
	exgantt1.Columns().Add("Task");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.ShowNonworkingDates(false);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,128);
		com_Chart.LevelCount(2);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Color(0x1000000);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Group 1");
		com_Items.ItemBold(h,true);
		com_Items.ItemDivider(h,0);
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		h2 = com_Items.InsertItem(h1,,"Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/15/2001",213)),COMVariant::createFromDate(str2Date("1/17/2001",213)),"K4");
		h2 = com_Items.InsertItem(h1,,"Task 3");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L1");
		h3 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3");
		com_Items.AddLink("L2",h2,"K2",h3,"K3");
		com_Items.Link("L2",12/*exLinkText*/,"L2");
		com_Items.ExpandItem(h,true);
		com_Items.ExpandItem(h1,true);
		h = com_Items.AddItem("Group 2");
		com_Items.ItemBold(h,true);
		com_Items.ItemDivider(h,0);
		com_Items.LockedItemCount(2/*BottomAlignment*/,1);
		h = com_Items.LockedItem(2/*BottomAlignment*/,0);
		var_s = "Click a row, and move by dragging <b>up, down</b> to change the row's parent or <b>left,right</b> to increase or decrease the in";
		var_s = var_s + "dentation.";
		com_Items.CellCaption(h,COMVariant::createFromInt(0),COMVariant::createFromStr(var_s));
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,128);
}
*/
796
Is it possible to allow moving an item to another, but keeping its indentation

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h,h1,h2,h3;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.AutoDrag(2/*exAutoDragPositionKeepIndent*/);
	exgantt1.LinesAtRoot(0/*exNoLinesAtRoot*/);
	exgantt1.HasLines(2/*exThinLine*/);
	exgantt1.ShowFocusRect(false);
	exgantt1.Columns().Add("Task");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.ShowNonworkingDates(false);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		com_Chart.LevelCount(2);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Color(0x1000000);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Group 1");
		com_Items.ItemDivider(h,0);
		com_Items.ItemBold(h,true);
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		h2 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L1");
		h3 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3");
		com_Items.AddLink("L2",h2,"K2",h3,"K3");
		com_Items.Link("L2",12/*exLinkText*/,"L2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Group 2");
		com_Items.ItemBold(h,true);
		com_Items.ItemDivider(h,0);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
795
How can I change the row's position to another, by drag and drop. Is it possible

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h1,h2,h3;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.AutoDrag(1/*exAutoDragPosition*/);
	exgantt1.Columns().Add("Task");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.ShowNonworkingDates(false);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,64);
		com_Chart.LevelCount(2);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Color(0x1000000);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L1");
		h3 = com_Items.AddItem("Task 3");
		com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3");
		com_Items.AddLink("L2",h2,"K2",h3,"K3");
		com_Items.Link("L2",12/*exLinkText*/,"L2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,64);
}
*/
794
Have seen the RenderType, but do not know what kind of values should I use

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h1,h2,h3;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.Columns().Add("Task");
	exgantt1.BackColorHeader(0x1000000);
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.BackColorLevelHeader(0x1000000);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,64);
		com_Chart.LevelCount(2);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Color(0x1000000);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L1");
		h3 = com_Items.AddItem("Task 3");
		com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3");
		com_Items.AddLink("L2",h2,"K2",h3,"K3");
		com_Items.Link("L2",12/*exLinkText*/,"L2");
	exgantt1.VisualAppearance().RenderType(-2147483393);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,64);
}
*/
793
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Item")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.Filter("Child 1");
		com_Column.FilterType(240/*exFilter*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Date")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.DisplayFilterDate(true);
		com_Column1.FilterList(9474/*exShowExclude | exShowFocusItem | exShowCheckBox | exNoItems*/);
		com_Column1.Filter(str2Date("12/28/2010",213));
		com_Column1.FilterType(4/*exDate*/);
	exgantt1.FilterCriteria("%0 or %1");
	exgantt1.Description(23/*exFilterBarOr*/,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
	exgantt1.Description(11/*exFilterBarAnd*/,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 1"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 2"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 1"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 2"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/30/2010",213)));
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
792
Is it possible exclude the dates being selected in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(9474/*exShowExclude | exShowFocusItem | exShowCheckBox | exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
791
How can I display a calendar control inside the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1282/*exShowFocusItem | exShowCheckBox | exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
790
Is it possible to include the dates as checkb-boxes in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1280/*exShowFocusItem | exShowCheckBox*/);
		com_Column.Filter("to 12/27/2010");
		com_Column.FilterType(4/*exDate*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
789
How can I filter items for dates before a specified date

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
		com_Column.Filter("to 12/27/2010");
		com_Column.FilterType(4/*exDate*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
788
Is it possible to filter dates

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
787
Is it possible to change the Exclude field name to something different, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Description(25/*exFilterBarExclude*/,"Leaving out");
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
786
How can I display the Exclude field in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
785
Is it possible to show and ensure the focused item from the control, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(1280/*exShowFocusItem | exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.SelectItem(com_Items.InsertItem(h,,"Child 2"),true);
		com_Items.ExpandItem(h,true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
784
Is it possible to show only blanks items with no listed items from the control

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16386/*exShowBlanks | exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
783
How can I include the blanks items in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16640/*exShowBlanks | exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
782
How can I select multiple items in the drop down filter window, using check-boxes

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(256/*exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
781
Is it possible to allow a single item being selected in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(128/*exSingleSel*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
780
How can I display no (All) item in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Description(0/*exFilterBarAll*/,"");
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
779
Is it possible to display no items in the drop down filter window, so only the pattern is visible

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
778
How can I show the child items with no identation

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(5/*exGroupLinesOutside*/);
	exgantt1.Indent(12);
	exgantt1.HasLines(2/*exThinLine*/);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
777
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgantt1.Indent(12);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
776
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(5/*exGroupLinesOutside*/);
	exgantt1.Indent(12);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
775
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(4/*exGroupLinesInsideLeaf*/);
	exgantt1.Indent(12);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
774
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(3/*exGroupLinesInside*/);
	exgantt1.Indent(12);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
773
Is there other ways of showing the hierarchy lines (exGroupLines)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(2/*exGroupLines*/);
	exgantt1.Indent(12);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(com_Items.InsertItem(h,,"Child 2"),,"SubChild 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
772
Is it possible background color displayed when the mouse passes over an item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Def");
	exgantt1.HotBackColor(WinApi::RGB2int(0,0,128));
	exgantt1.HotForeColor(WinApi::RGB2int(255,255,255));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.EndUpdate();
}
771
How can I simulate displaying groups

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h,h1;
	;

	super();

	exgantt1.HasLines(0/*exNoLine*/);
	exgantt1.ScrollBySingleLine(true);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		com_Columns.Add("A");
		com_Columns.Add("B");
		com_Columns.Add("C");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Group 1");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Group 2");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
770
Is it possible to change the height for all items at once

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,true);
	exgantt1.EndUpdate();
	exgantt1.DefaultItemHeight(12);
	exgantt1.Items().ItemHeight(0,12);
}
769
Is it possible to specify the cell's value but still want to display some formatted text instead the value

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.Columns().Add("Value");
	exgantt1.Columns().Add("FormatCell");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(12));
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"currency(value)");
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(1),1/*exHTML*/);
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"longdate(value) replace '2001' with '<b>2001</b>'");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
768
Is it possible to specify the cell's value but still want to display some formatted text instead the value

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("Values")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(64);
			com_Column.FormatColumn("((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)");
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"'<none>'");
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 1"),COMVariant::createFromInt(1),COMVariant::createFromInt(10));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 2"),COMVariant::createFromInt(1),COMVariant::createFromInt(15));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 3"),COMVariant::createFromInt(1),COMVariant::createFromInt(25));
		com_Items.ExpandItem(h,true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
767
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("Values")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(64);
			com_Column.FormatColumn("((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)");
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.FormatCell(h,COMVariant::createFromInt(1)," ");
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 1"),COMVariant::createFromInt(1),COMVariant::createFromInt(10));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 2"),COMVariant::createFromInt(1),COMVariant::createFromInt(15));
		com_Items.CellCaption(com_Items.InsertItem(h,,"Child 3"),COMVariant::createFromInt(1),COMVariant::createFromInt(25));
		com_Items.ExpandItem(h,true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
766
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

public void init()
{
	COM com_Columns,com_ConditionalFormat,com_ConditionalFormat1,com_Items;
	anytype var_Columns,var_ConditionalFormat,var_ConditionalFormat1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_ConditionalFormat = COM::createFromObject(exgantt1.ConditionalFormats()).Add("1","K1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	var_ConditionalFormat1 = COM::createFromObject(exgantt1.ConditionalFormats()).Add("1","K2"); com_ConditionalFormat1 = var_ConditionalFormat1;
		com_ConditionalFormat1.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat1.ApplyTo(2);
	exgantt1.MarkSearchColumn(false);
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
		com_Columns.Add("Column 3");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem();
		com_Items.AddItem();
		com_Items.AddItem();
	exgantt1.EndUpdate();
}
765
How can I get the list of items as they are displayed
public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	exgantt1.Columns().Add("Names");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	exgantt1.EndUpdate();
	print( exgantt1.GetItems(COMVariant::createFromInt(1)) );
}
764
Is posible to reduce the size of the picture to be shown in the column's caption

public void init()
{
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exgantt1.HeaderHeight(48);
	COM::createFromVariant(exgantt1.Columns().Add("DefaultSize")).HTMLCaption("Default-Size <img>pic1</img> Picture");
	COM::createFromVariant(exgantt1.Columns().Add("CustomSize")).HTMLCaption("Custom-Size <img>pic1:16</img> Picture");
	exgantt1.EndUpdate();
}
763
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

public void init()
{
	COM com_Column,com_ConditionalFormat,com_Items;
	anytype var_Column,var_ConditionalFormat,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	var_ConditionalFormat = COM::createFromObject(exgantt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	exgantt1.Columns().Add("C1");
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("C2")); com_Column = var_Column;
		com_Column.HeaderBold(true);
		com_Column.HTMLCaption("<fgcolor=FF0000>C2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(12)),COMVariant::createFromInt(1),COMVariant::createFromInt(13));
	exgantt1.EndUpdate();
}
762
The item is not getting selected when clicking the cell's checkbox. What should I do

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Item,int   _ColIndex)
{
	;
	exgantt1.Items().SelectItem(_Item,true);
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgantt1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
761
Is it possible to limit the height of the item while resizing

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().ItemMinHeight(_Item,18);
	exgantt1.Items().ItemMaxHeight(_Item,72);
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ItemsAllowSizing(-1/*exResizeItem*/);
	exgantt1.ScrollBySingleLine(false);
	exgantt1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	exgantt1.Columns().Add("Names");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	exgantt1.EndUpdate();
}
760
Is it possible to copy the hierarchy of the control using the GetItems method

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Def");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.PutItems(exgantt1.GetItems(COMVariant::createFromInt(-1)));
}
759
Does your control supports multiple lines tooltip

public void init()
{
	str var_s;
	;

	super();

	exgantt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exgantt1.ToolTipDelay(1);
	var_s = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, i";
	var_s = var_s + "cons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>";
	COM::createFromVariant(exgantt1.Columns().Add("tootip")).ToolTip(var_s);
}
758
It is possible to write the word in red/color or to add a tooltip or a link to the word

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h1,h2;
	;

	super();

	exgantt1.Columns().Add("Task");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/26/2000",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,32);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"K1","some <fgcolor=FF0000>red</fgcolor> text");
		com_Items.ItemBar(h1,"K1",10/*exBarPercent*/,COMVariant::createFromBoolean(false));
		com_Items.ItemBar(h1,"K1",6/*exBarToolTip*/,"And here goes the <b>tooltip</b> of the text. ");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
		com_Items.ItemBar(h2,"K2",6/*exBarToolTip*/,"And here goes the <b>tooltip</b> of the bar. ");
		com_Items.AddLink("L1",h1,"K1",h2,"K2");
		com_Items.Link("L1",12/*exLinkText*/,"L<b>inke</b>d to a bar");
		com_Items.Link("L1",13/*exLinkToolTip*/,"And here goes the <b>tooltip</b> of the link. ");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,32);
}
*/
757
It is possible to use seconds/minutes/hours as time scale in your control, but using my regional settings

public void init()
{
	COM com_Chart,com_Chart1,com_Level;
	anytype var_Chart,var_Chart1,var_Level;
	str var_s,var_s1,var_s2,var_s3;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.Label(16/*exMonth*/,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
		var_s = "<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d%";
		var_s = var_s + ">, <%yyyy%><||><||>4096";
		com_Chart.Label(4096/*exDay*/,var_s);
		var_s1 = "<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>";
		var_s1 = var_s1 + " <%h%> <%AM/PM%><||><||>65536";
		com_Chart.Label(65536/*exHour*/,var_s1);
		var_s2 = "<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <";
		var_s2 = var_s2 + "%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>";
		com_Chart.Label(1048576/*exMinute*/,var_s2);
		var_s3 = "<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%><";
		var_s3 = var_s3 + "|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>";
		com_Chart.Label(16777216/*exSecond*/,var_s3);
		com_Chart.LabelToolTip(16/*exMonth*/,"<%loc_mmmm%>/<%yyyy%>");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
		com_Chart.LabelToolTip(65536/*exHour*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
		com_Chart.LabelToolTip(1048576/*exMinute*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
		com_Chart.LabelToolTip(16777216/*exSecond*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart1 = exgantt1.Chart(); com_Chart1 = var_Chart1;
	/*should be called during the form's activate method*/ 	com_Chart1.PaneWidth(false,0);
		com_Chart1.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart1.LevelCount(4);
		var_Level = COM::createFromObject(com_Chart1.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(4096));
		var_Level = COM::createFromObject(com_Chart1.Level(1)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(65536));
		var_Level = COM::createFromObject(com_Chart1.Level(2)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart1.Level(3); com_Level = var_Level;
			com_Level.Count(15);
			com_Level.Label(COMVariant::createFromInt(16777216));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
756
The chart's header is displayed in English. Can I change so it is the same as in my regional settings

public void init()
{
	COM com_Chart,com_Chart1;
	anytype var_Chart,var_Chart1;
	str var_s,var_s1,var_s2,var_s3;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.Label(16/*exMonth*/,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
		var_s = "<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d%";
		var_s = var_s + ">, <%yyyy%><||><||>4096";
		com_Chart.Label(4096/*exDay*/,var_s);
		var_s1 = "<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>";
		var_s1 = var_s1 + " <%h%> <%AM/PM%><||><||>65536";
		com_Chart.Label(65536/*exHour*/,var_s1);
		var_s2 = "<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <";
		var_s2 = var_s2 + "%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>";
		com_Chart.Label(1048576/*exMinute*/,var_s2);
		var_s3 = "<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%><";
		var_s3 = var_s3 + "|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>";
		com_Chart.Label(16777216/*exSecond*/,var_s3);
		com_Chart.LabelToolTip(16/*exMonth*/,"<%loc_mmmm%>/<%yyyy%>");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
		com_Chart.LabelToolTip(65536/*exHour*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
		com_Chart.LabelToolTip(1048576/*exMinute*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
		com_Chart.LabelToolTip(16777216/*exSecond*/,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart1 = exgantt1.Chart(); com_Chart1 = var_Chart1;
	/*should be called during the form's activate method*/ 	com_Chart1.PaneWidth(false,0);
		com_Chart1.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart1.LevelCount(2);
		com_Chart1.UnitScale(4096/*exDay*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
755
It is possible to use seconds/minutes/hours as time scale in your control

public void init()
{
	COM com_Chart,com_Level;
	anytype var_Chart,var_Level;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.LevelCount(4);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(4096));
		var_Level = COM::createFromObject(com_Chart.Level(1)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(65536));
		var_Level = COM::createFromObject(com_Chart.Level(2)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(3); com_Level = var_Level;
			com_Level.Count(15);
			com_Level.Label(COMVariant::createFromInt(16777216));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
754
How can I prevent highlighting the column from the cursor - point

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJg";
	var_s = var_s + "EgI=";
	exgantt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exgantt1.Background(32/*exCursorHoverColumn*/,0x1000000);
	COM::createFromVariant(exgantt1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgantt1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgantt1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgantt1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgantt1.Columns().Add("E1")).Width(32);
	COM::createFromVariant(exgantt1.Columns().Add("E2")).Width(32);
	COM::createFromVariant(exgantt1.Columns().Add("E3")).Width(32);
	COM::createFromVariant(exgantt1.Columns().Add("E4")).Width(32);
}
753
Can I use and display PNG pictures

public void init()
{
	;

	super();

	exgantt1.HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
	exgantt1.HeaderHeight(48);
	COM::createFromVariant(exgantt1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>pic1</img> Picture");
}
752
Is it possible to specify the background color for the item in the chart part only

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		exgantt1.Chart().ItemBackColor(hC,WinApi::RGB2int(255,0,0));
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
751
Is it possible to apply different visual appearance, color, sizes for item in the list and chart part

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgantt1.VisualAppearance().Add(3,"CP:2 2 2 -2 -2");
	exgantt1.Columns().Add("Default");
	exgantt1.SelBackMode(1/*exTransparent*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,0x1ffff00);
		exgantt1.Chart().ItemBackColor(hC,0x300ff00);
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
750
How do I change the visual appearance for the entire item, using your EBN technology

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,0x1000000);
		exgantt1.Chart().ItemBackColor(hC,0x1000000);
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
749
is it possible to specify the a different background color for the item, list and chart part

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,WinApi::RGB2int(255,0,0));
		exgantt1.Chart().ItemBackColor(hC,WinApi::RGB2int(255,255,0));
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
748
Is it possible to specify the background color for the entire row, including the chart part

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,WinApi::RGB2int(255,0,0));
		exgantt1.Chart().ItemBackColor(hC,WinApi::RGB2int(255,0,0));
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
747
How can I show the tooltip programmatically ( I want to be able to set the tooltip content dynamically just before the tooltip start to appear, not using the exBarTooltip )

// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int   _Button,int   _Shift,int   _X,int   _Y)
{
	;
	exgantt1.ShowToolTip(exgantt1.Chart().BarFromPoint(-1,-1),"","8","8");
}

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Def");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,64);
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2010",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2010",213)),COMVariant::createFromDate(str2Date("1/5/2010",213)),"A","A");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/5/2010",213)),COMVariant::createFromDate(str2Date("1/8/2010",213)),"B","B");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2010",213)),COMVariant::createFromDate(str2Date("1/11/2010",213)),"C","C");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,64);
}
*/
746
Is it possible to move an item from a parent to another

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.InsertItem(com_Items.AddItem("C"),"","D");
		com_Items.SetParent(com_Items.FindItem("D",COMVariant::createFromInt(0)),com_Items.FindItem("A",COMVariant::createFromInt(0)));
	exgantt1.EndUpdate();
}
745
How can I change the identation for an item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.InsertItem(com_Items.AddItem("C"),"","D");
		com_Items.SetParent(com_Items.FindItem("D",COMVariant::createFromInt(0)),0);
	exgantt1.EndUpdate();
}
744
How can I specify the levels using the user's Regional and Language Options

public void init()
{
	COM com_Chart,com_Level,com_Level1;
	anytype var_Chart,var_Level,var_Level1;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Font().Name("Arial Unicode MS");
	exgantt1.HeaderHeight(36);
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("5/30/2010",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.UnitWidth(36);
		com_Chart.LevelCount(2);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<b><%loc_mmmm%></b> <%yyyy%><br><%loc_sdate%><r> <%ww%> ");
			com_Level.ToolTip(com_Level.Label());
			com_Level.Unit(256/*exWeek*/);
		var_Level1 = com_Chart.Level(1); com_Level1 = var_Level1;
			com_Level1.Label("<%loc_ddd%><br><%d%>");
			com_Level1.ToolTip(com_Level1.Label());
		com_Chart.ToolTip("<%loc_ldate%>");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
743
How can I display a bar only using a gradient color and shadow

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.StartColor(WinApi::RGB2int(255,255,255));
			com_Bar.EndColor(com_Bar.Color());
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Gradient");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(8291));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
742
Is it possible to display a bar only using a gradient color using the exBarColor option

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.StartColor(WinApi::RGB2int(255,255,255));
			com_Bar.EndColor(com_Bar.StartColor());
			com_Bar.Height(17);
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Gradient");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(227));
		h = com_Items.AddItem("W/h Color");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(227));
		com_Items.ItemBar(h,"",513/*exBarColor*/,COMVariant::createFromInt(255));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
741
Is it possible to display a bar only using a gradient color

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.StartColor(WinApi::RGB2int(255,255,255));
			com_Bar.EndColor(com_Bar.StartColor());
			com_Bar.Height(17);
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Gradient");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(227));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
740
Is it possible to display a bar only using a gradient color

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.StartColor(WinApi::RGB2int(255,255,255));
			com_Bar.EndColor(com_Bar.Color());
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Gradient");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(99));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
739
How can I display a specified bar only with a thicker border

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Border");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(4099));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
738
Is it possible to display the shadow for a specified bar

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		h = com_Items.AddItem("W/h Shadow");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.ItemBar(h,"",17/*exBarPattern*/,COMVariant::createFromInt(8195));
		com_Items.AddBar(com_Items.AddItem("Original"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
737
Is it possible to display the task bars with a gradient color

public void init()
{
	COM com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bars,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars;
		com_Bars.Copy("Task","TaskO");
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.Pattern(99/*exPatternGradientVBox | exPatternBox | exPatternShadow*/);
			com_Bar.StartColor(WinApi::RGB2int(255,255,255));
			com_Bar.EndColor(com_Bar.Color());
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Original"),"TaskO",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Pattern Gradient"),"Task",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Original"),"TaskO",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
736
How can I know the type of bars I can displays using predefined patterns

public void init()
{
	COM com_Bar,com_Bar1,com_Bar2,com_Bar3,com_Bar4,com_Bar5,com_Bar6,com_Bar7,com_Bar8,com_Bar9,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bar1,var_Bar2,var_Bar3,var_Bar4,var_Bar5,var_Bar6,var_Bar7,var_Bar8,var_Bar9,var_Bars,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/31/2009",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,96);
		var_Bars = com_Chart.Bars(); com_Bars = var_Bars;
			var_Bar = COM::createFromObject(com_Bars.Add("Box")); com_Bar = var_Bar;
			com_Bar.Pattern(32/*exPatternBox*/);
			var_Bar = COM::createFromObject(com_Bars.Add("ThickBox")); com_Bar = var_Bar;
			com_Bar.Pattern(4128/*exPatternThickBox | exPatternBox*/);
			var_Bar = COM::createFromObject(com_Bars.Add("DiagBox")); com_Bar = var_Bar;
			com_Bar.Pattern(4102/*exPatternThickBox | exPatternBDiagonal*/);
			var_Bar = COM::createFromObject(com_Bars.Copy("Task","Shadow")); com_Bar = var_Bar;
			com_Bar.Pattern(8195/*exPatternFrameShadow | exPatternShadow*/);
			var_Bar = COM::createFromObject(com_Bars.Copy("Task","TShadow")); com_Bar = var_Bar;
			com_Bar.Pattern(12295/*exPatternFrameShadow | exPatternThickBox | exPatternDiagCross*/);
			var_Bar = com_Bars.Add("HGrad1"); com_Bar = var_Bar;
				com_Bar.Pattern(32/*exPatternBox*/);
				com_Bar.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar.EndColor(WinApi::RGB2int(0,0,255));
			var_Bar1 = com_Bars.Add("HGrad2"); com_Bar1 = var_Bar1;
				com_Bar1.Pattern(35/*exPatternBox | exPatternShadow*/);
				com_Bar1.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar1.EndColor(WinApi::RGB2int(0,0,255));
				com_Bar1.Color(WinApi::RGB2int(0,0,255));
			var_Bar2 = com_Bars.Add("HGrad3"); com_Bar2 = var_Bar2;
				com_Bar2.Pattern(163/*exPatternGradient3Colors | exPatternBox | exPatternShadow*/);
				com_Bar2.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar2.EndColor(com_Bar2.StartColor());
				com_Bar2.Color(WinApi::RGB2int(0,0,255));
			var_Bar3 = com_Bars.Add("HGrad4"); com_Bar3 = var_Bar3;
				com_Bar3.Pattern(4256/*exPatternThickBox | exPatternGradient3Colors | exPatternBox*/);
				com_Bar3.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar3.EndColor(com_Bar3.StartColor());
				com_Bar3.Color(WinApi::RGB2int(0,0,255));
			var_Bar4 = com_Bars.Add("HGrad5"); com_Bar4 = var_Bar4;
				com_Bar4.Pattern(8352/*exPatternFrameShadow | exPatternGradient3Colors | exPatternBox*/);
				com_Bar4.StartColor(WinApi::RGB2int(0,255,0));
				com_Bar4.EndColor(WinApi::RGB2int(255,0,0));
				com_Bar4.Color(WinApi::RGB2int(0,0,255));
			var_Bar5 = com_Bars.Add("VGrad1"); com_Bar5 = var_Bar5;
				com_Bar5.Pattern(96/*exPatternGradientVBox | exPatternBox*/);
				com_Bar5.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar5.EndColor(WinApi::RGB2int(0,0,255));
				com_Bar5.Height(14);
			var_Bar6 = com_Bars.Add("VGrad2"); com_Bar6 = var_Bar6;
				com_Bar6.Pattern(99/*exPatternGradientVBox | exPatternBox | exPatternShadow*/);
				com_Bar6.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar6.EndColor(WinApi::RGB2int(0,0,255));
				com_Bar6.Color(WinApi::RGB2int(0,0,255));
				com_Bar6.Height(14);
			var_Bar7 = com_Bars.Add("VGrad3"); com_Bar7 = var_Bar7;
				com_Bar7.Pattern(227/*exPatternGradient3Colors | exPatternGradientVBox | exPatternBox | exPatternShadow*/);
				com_Bar7.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar7.EndColor(com_Bar7.StartColor());
				com_Bar7.Color(WinApi::RGB2int(0,0,255));
				com_Bar7.Height(14);
			var_Bar8 = com_Bars.Add("VGrad4"); com_Bar8 = var_Bar8;
				com_Bar8.Pattern(4320/*exPatternThickBox | exPatternGradient3Colors | exPatternGradientVBox | exPatternBox*/);
				com_Bar8.StartColor(WinApi::RGB2int(255,255,255));
				com_Bar8.EndColor(com_Bar8.StartColor());
				com_Bar8.Color(WinApi::RGB2int(0,0,255));
				com_Bar8.Height(-1);
			var_Bar9 = com_Bars.Add("VGrad5"); com_Bar9 = var_Bar9;
				com_Bar9.Pattern(8416/*exPatternFrameShadow | exPatternGradient3Colors | exPatternGradientVBox | exPatternBox*/);
				com_Bar9.StartColor(WinApi::RGB2int(0,255,0));
				com_Bar9.EndColor(WinApi::RGB2int(255,0,0));
				com_Bar9.Color(WinApi::RGB2int(0,0,255));
				com_Bar9.Height(14);
	exgantt1.Columns().Add("Types");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Box"),"Box",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Thick Box"),"ThickBox",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Thick Box Diag"),"DiagBox",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Shadow"),"Shadow",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Thick Shadow"),"TShadow",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Solid Gradient"),"HGrad1",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Pattern Gradient"),"HGrad2",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Pattern Gradient 3 Colors"),"HGrad3",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Solid Gradient 3 Colors"),"HGrad4",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Gradient Shadow"),"HGrad5",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Solid Gradient"),"VGrad1",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Pattern Gradient"),"VGrad2",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Pattern Gradient 3 Colors"),"VGrad3",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Solid Gradient 3 Colors"),"VGrad4",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
		com_Items.AddBar(com_Items.AddItem("Gradient Shadow"),"VGrad5",COMVariant::createFromDate(str2Date("1/4/2010",213)),COMVariant::createFromDate(str2Date("1/9/2010",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,96);
}
*/
735
Is it possible to display the bars with a thicker border

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,48);
	var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Copy("Task","TaskB"); com_Bar = var_Bar;
	com_Bar.Pattern(4099/*exPatternThickBox | exPatternShadow*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"TaskB",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,48);
}
*/
734
Is it possible to display the shadow for EBN bars

public void init()
{
	COM com_Bar,com_Bar1,com_Items;
	anytype var_Bar,var_Bar1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,48);
	var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Copy("Task","EBN"); com_Bar = var_Bar;
		com_Bar.Color(0x1000000);
		com_Bar.Pattern(8192/*exPatternFrameShadow*/);
	var_Bar1 = COM::createFromObject(exgantt1.Chart().Bars()).Copy("Task","EBN2"); com_Bar1 = var_Bar1;
	com_Bar1.Color(0x1000000);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"EBN2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"EBN",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"EBN2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,48);
}
*/
733
Can I display a shadow for my bars

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,48);
	var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
	com_Bar.Pattern(8195/*exPatternFrameShadow | exPatternShadow*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,48);
}
*/
732
How can I use the Color property for gradient bars

public void init()
{
	COM com_Bar,com_Bar1,com_Items;
	anytype var_Bar,var_Bar1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,48);
	var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Add("V"); com_Bar = var_Bar;
		com_Bar.Color(WinApi::RGB2int(255,0,0));
		com_Bar.StartColor(WinApi::RGB2int(0,255,0));
		com_Bar.EndColor(com_Bar.StartColor());
		com_Bar.Pattern(224/*exPatternGradient3Colors | exPatternGradientVBox | exPatternBox*/);
		com_Bar.Height(-1);
	var_Bar1 = COM::createFromObject(exgantt1.Chart().Bars()).Add("H"); com_Bar1 = var_Bar1;
		com_Bar1.Color(WinApi::RGB2int(255,0,0));
		com_Bar1.StartColor(WinApi::RGB2int(0,255,0));
		com_Bar1.EndColor(com_Bar1.StartColor());
		com_Bar1.Pattern(160/*exPatternGradient3Colors | exPatternBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"V",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"H",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,48);
}
*/
731
Is there any option to show bars with vertical gradient

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Color(WinApi::RGB2int(255,0,0));
		com_Bar.StartColor(WinApi::RGB2int(0,255,0));
		com_Bar.EndColor(WinApi::RGB2int(255,255,0));
		com_Bar.Pattern(96/*exPatternGradientVBox | exPatternBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"");
}
730
How can I define a new milestone bar

public void init()
{
	COM com_Bar,com_Bars,com_Items;
	anytype var_Bar,var_Bars,var_Items;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bars = exgantt1.Chart().Bars(); com_Bars = var_Bars;
		com_Bars.AddShapeCorner(COMVariant::createFromInt(12345),COMVariant::createFromInt(1));
		com_Bars.AddShapeCorner(COMVariant::createFromInt(12346),COMVariant::createFromInt(2));
		var_Bar = COM::createFromObject(com_Bars.Copy("Milestone","M1")); com_Bar = var_Bar;
		com_Bar.StartShape(12345/*0x3039 | exShapeIconVBar | exShapeIconRight*/);
		var_Bar = COM::createFromObject(com_Bars.Copy("Milestone","M2")); com_Bar = var_Bar;
		com_Bar.StartShape(12346/*0x303a | exShapeIconSquare | exShapeIconRight*/);
		var_Bar = com_Bars.Copy("Milestone","MP"); com_Bar = var_Bar;
			com_Bar.StartShape(20/*exShapeIconStar*/);
			com_Bar.StartColor(WinApi::RGB2int(255,0,0));
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Default"),"Milestone",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Predefined"),"MP",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/3/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Custom 1"),"M1",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Custom 2"),"M2",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
	exgantt1.EndUpdate();
}
729
How can I define my milestone bar, using my icons or pictures

public void init()
{
	COM com_Bar,com_Bars,com_Items;
	anytype var_Bar,var_Bars,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bars = exgantt1.Chart().Bars(); com_Bars = var_Bars;
		com_Bars.AddShapeCorner(COMVariant::createFromInt(12345),COMVariant::createFromInt(1));
		var_Bar = COM::createFromObject(com_Bars.Item("Milestone")); com_Bar = var_Bar;
		com_Bar.StartShape(12345/*0x3039 | exShapeIconVBar | exShapeIconRight*/);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Milestone",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213)));
}
728
I haven't found options to localize (in Italian) the strings ( dates, tooltip ) that shows in the chart area

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
		com_Chart.Label(4096/*exDay*/,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.MonthNames("gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre");
		com_Chart.WeekDays("domenica lunedì martedì mercoledì giovedì venerdì sabato");
		com_Chart.ToolTip("<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.UnitScale(4096/*exDay*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
727
I haven't found options to localize (in Dutch) the strings ( dates, tooltip ) that shows in the chart area

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
		com_Chart.Label(4096/*exDay*/,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.MonthNames("januari februari maart april mei juni juli augusts september oktober november december");
		com_Chart.WeekDays("zondag maandag dinsdag woensdag donderdag vrijdag zaterdag");
		com_Chart.ToolTip("<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.UnitScale(4096/*exDay*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
726
I haven't found options to localize (in German) the strings ( dates, tooltip ) that shows in the chart area

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%>.<%mmmm%> <%yyyy%><r><%ww%><||><||>256");
		com_Chart.Label(4096/*exDay*/,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%>.<%m3%> '<%yy%><|><%dddd%> <%d%>.<%mmmm%> <%yyyy%><||><||>4096");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%d%>.<%mmmm%> <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%dddd%>, <%d%>.<%mmmm%> <%yyyy%>");
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.MonthNames("Januar Februar März April Mai Juni Juli August September Oktober November Dezember");
		com_Chart.WeekDays("Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag");
		com_Chart.ToolTip("<%dddd%>,<%d%>.<%mmmm%> <%yyyy%>");
		com_Chart.UnitScale(4096/*exDay*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
725
I haven't found options to localize (in French) the strings ( dates, tooltip ) that shows in the chart area

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.Label(256/*exWeek*/,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
		com_Chart.Label(4096/*exDay*/,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
		com_Chart.LabelToolTip(256/*exWeek*/,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
		com_Chart.LabelToolTip(4096/*exDay*/,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.MonthNames("janvier février mars avril mai juin juillet août septembre octobre novembre décembre");
		com_Chart.WeekDays("dimanche lundi mardi mercredi jeudi vendredi samedi");
		com_Chart.ToolTip("<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
		com_Chart.UnitScale(4096/*exDay*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
724
How can I filter programatically using more columns

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Car");
		com_Columns.Add("Equipment");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item("Car"); com_Column = var_Column;
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Mazda");
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item("Equipment"); com_Column1 = var_Column1;
		com_Column1.FilterType(3/*exPattern*/);
		com_Column1.Filter("*ABS*|*ESP*");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
723
I have seen the IN function but it returns -1 or 0. How can I display the value being found ( SWITCH usage )

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Value")); com_Column = var_Column;
		com_Column.Width(24);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("SWITCH - statment")); com_Column1 = var_Column1;
		com_Column1.ComputedField("%0 switch ('not found', 1,2,3,4,5,7,8,9,11,13,14)");
		com_Column1.ToolTip(com_Column1.ComputedField());
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
722
I have a large collection of constant values and using or operator is a time consuming (IN usage). Is there any way to increase the speed to check if a value maches the collection

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Value")); com_Column = var_Column;
		com_Column.Width(24);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("IN - statment")); com_Column1 = var_Column1;
		com_Column1.ComputedField("%0 in (1,2,3,4,5,7,8,9,11,13,14) ? 'found' : ''");
		com_Column1.ToolTip(com_Column1.ComputedField());
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
721
How can I use the CASE statement (CASE usage)

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Value")); com_Column = var_Column;
		com_Column.Width(24);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("CASE - statment")); com_Column1 = var_Column1;
		var_s = "%0 case (default:'not found';1:%0;2:2*%0;3:3*%0;4:4*%0;5:5*%0;7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen';14:'Fourth";
		var_s = var_s + "een')";
		com_Column1.ComputedField(var_s);
		com_Column1.ToolTip(com_Column1.ComputedField());
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
720
How can I use the CASE statement (CASE usage)

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Value")); com_Column = var_Column;
		com_Column.Width(24);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("CASE - statment")); com_Column1 = var_Column1;
		var_s = "%0 case (default:'not found';1:'One';2:'Two';3:'Three';4:'Four';5:'Five';7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen'";
		var_s = var_s + ";14:'Fourtheen')";
		com_Column1.ComputedField(var_s);
		com_Column1.ToolTip(com_Column1.ComputedField());
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
719
Is is possible to use HTML tags to display in the filter caption

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarCaption("This is a bit of text being displayed in the filter bar.");
	exgantt1.Columns().Add("");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	exgantt1.EndUpdate();
}
718
How can I find the number of items after filtering
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("");
		com_Items.CellCaption(h,COMVariant::createFromInt(0),com_Items.VisibleItemCount());
	exgantt1.EndUpdate();
}
717
How can I change the filter caption

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(12801/*exFilterPromptWords | exFilterPromptContainsAll*/);
	exgantt1.FilterBarPromptPattern("london robert");
	exgantt1.FilterBarCaption("<r>Found: ... ");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
716
While using the filter prompt is it is possible to use wild characters

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(16/*exFilterPromptPattern*/);
	exgantt1.FilterBarPromptPattern("lon* seat*");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
715
How can I list all items that contains any of specified words, not necessary at the beggining

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(4610/*exFilterPromptStartWords | exFilterPromptContainsAny*/);
	exgantt1.FilterBarPromptPattern("london davolio");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
714
How can I list all items that contains any of specified words, not strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(12802/*exFilterPromptWords | exFilterPromptContainsAny*/);
	exgantt1.FilterBarPromptPattern("london nancy");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
713
How can I list all items that contains all specified words, not strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(12801/*exFilterPromptWords | exFilterPromptContainsAll*/);
	exgantt1.FilterBarPromptPattern("london robert");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
712
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(258/*exFilterPromptCaseSensitive | exFilterPromptContainsAny*/);
	exgantt1.FilterBarPromptPattern("Anne");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
711
Is it possible to list only items that ends with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(4/*exFilterPromptEndWith*/);
	exgantt1.FilterBarPromptColumns("0");
	exgantt1.FilterBarPromptPattern("Fuller");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
710
Is it possible to list only items that ends with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(4/*exFilterPromptEndWith*/);
	exgantt1.FilterBarPromptColumns("0");
	exgantt1.FilterBarPromptPattern("Fuller");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
709
Is it possible to list only items that starts with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(3/*exFilterPromptStartWith*/);
	exgantt1.FilterBarPromptColumns("0");
	exgantt1.FilterBarPromptPattern("An M");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
708
Is it possible to list only items that starts with specified string

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(3/*exFilterPromptStartWith*/);
	exgantt1.FilterBarPromptColumns("0");
	exgantt1.FilterBarPromptPattern("A");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
707
How can I specify that the list should include any of the seqeunces in the pattern

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(2/*exFilterPromptContainsAny*/);
	exgantt1.FilterBarPromptPattern("london seattle");
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
706
How can I specify that all sequences in the filter pattern must be included in the list

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptType(1/*exFilterPromptContainsAll*/);
	exgantt1.FilterBarPromptPattern("london manager");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
705
How do I change at runtime the filter prompt

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptPattern("london manager");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
704
How do I specify to filter only a single column when using the filter prompt

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptColumns("2,3");
	exgantt1.FilterBarPromptPattern("london");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
703
How do I change the prompt or the caption being displayed in the filter bar

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPrompt("changed");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
702
How do I enable the filter prompt feature

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarPromptVisible(true);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
701
Is it possible to colour a particular column, I mean the cell's foreground color

public void init()
{
	COM com_Columns,com_ConditionalFormat,com_Items;
	anytype var_Columns,var_ConditionalFormat,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_ConditionalFormat = COM::createFromObject(exgantt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(4)),COMVariant::createFromInt(1),COMVariant::createFromInt(5));
	exgantt1.EndUpdate();
}